package BO;
    
import UI.StatusUI;
import java.util.Comparator;


public class StatusUIComparator implements Comparator<StatusUI>{

        @Override
        public int compare(StatusUI x, StatusUI y) {
            
            return (int)(y.getTimeupdated().getTime() - x.getTimeupdated().getTime());
            
        }
        
    }